package com.gcxy.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @auther:韦林鹏 `*@since:2023/12/21 10 44
 * @description:
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CityVo {

    private Long id;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;


    private String name;


    private String code;


    private Integer level;


    private Integer parentId;


    private String acronym;


    private Integer sort;

    private List<CityVo> children;
}
